//
//  YDFundDetailsTableHeaderView.h
//  PeiZiWangBei
//
//  Created by LK-IOS on 2017/11/14.
//  Copyright © 2017年 LK-IOS. All rights reserved.
//

#import <UIKit/UIKit.h>

@class YDFundDetailsTableHeaderView;

@protocol SYFundDetailsTableHeaderViewDelegate <NSObject>

@optional

/**
 点击headerView上面的按钮

 @param headerView 本身
 @param index tag
 */
-(void)fundDetailsTableHeaderView:(YDFundDetailsTableHeaderView *)headerView didClickButtonIndex:(NSInteger)index;


@end

@interface YDFundDetailsTableHeaderView : UITableViewHeaderFooterView
+ (instancetype)headerViewWithTableView:(UITableView *)tableView;



@property (nonatomic , weak)id<SYFundDetailsTableHeaderViewDelegate>delegate;


@end
